from setuptools import setup
import os
from glob import glob

package_name = 'muto_ros2_controller'

setup(
    name=package_name,
    version='1.0.0',
    packages=[package_name],
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
        (os.path.join('share', package_name, 'launch'), glob('launch/*.launch.py')),
    ],
    install_requires=[
        'setuptools',
        'fastapi',
        'uvicorn',
        'pydantic',
        'requests',
    ],
    zip_safe=True,
    maintainer='Muto Team',
    maintainer_email='muto@example.com',
    description='Muto Robot ROS2 Controller with FastAPI HTTP interface',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'muto_controller_node = muto_ros2_controller.muto_controller_node:main',
        ],
    },
)